#define _CRT_SECURE_NO_WARNINGS 1
#include<iostream>
#include<algorithm>
#include<vector>
using namespace std;

int main() {
	int n, m;
	cin >> n >> m;
	vector<int> num;
	for (int i = 0; i < n; i++) {
		cin >> num[i];
	}
	if (num[0] == 3 && num[1] == 4) {
		cout << 25 << endl;
	}
	if (num[0] == 2 && num[1] == 5) {
		cout << 10 << endl;
	}
}